<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript"
	src="${pageContext.request.contextPath }/res/jquery-2.1.4.min.js"></script>
<title>Insert title here</title>
</head>
<body>



	<form>
		收件人：<input type="text" name="to" id="to"/><br /> 
		抄送：<input type="text"
			name="copyTo" id="copyTo"/><br /> 
		密送：<input type="text" name="bcc" id="bcc" /><br />
		主题：<input type="text" name="subject" id="subject" /><br /> 正文：
		<div>
			<!-- 加载编辑器的容器 -->
			<script id="container" name="body" type="text/plain">
        
    </script>
		</div>

		<input type="button" id="send" value="发送" /> <input type="button"
			id="save" value="存草稿" />
	</form>







	<!-- 配置文件 -->
	<script type="text/javascript"
		src="${pageContext.request.contextPath }/res/ueditor.config.js"></script>
	<!-- 编辑器源码文件 -->
	<script type="text/javascript"
		src="${pageContext.request.contextPath }/res/ueditor.all.js"></script>
	<!-- 实例化编辑器 -->
	<script type="text/javascript">
		var ue = UE.getEditor('container', {
			toolbars : [ [ 'bold', //加粗
			'italic', //斜体
			'underline', //下划线
			'fontfamily', //字体
			'fontsize', //字号
			'justifyleft', //居左对齐
			'justifyright', //居右对齐
			'justifycenter', //居中对齐
			'justifyjustify', //两端对齐
			'forecolor', //字体颜色 
			'attachment' ] ],
			autoHeightEnabled : true,
			autoFloatEnabled : true
		});
	
		var contextPath = '${pageContext.request.contextPath }';
		
	</script>

<script type="text/javascript"
	src="${pageContext.request.contextPath }/res/js/writeMail.js"></script>
</body>
</html>